Fix wait_for_active_spots_filter filter

Similar to PR 431, the filtering was lost on the first iteration.