Thanks! The fix was for planned workouts using HR targets performed using Garmin devices. So not the activity itself but the planned workout encoded along with the activity. So no impact on any activity data. Actions → Extract Workout was producing bad workouts for these.