CS-2707 Code to filter affected workouts