Fixed to ignore schedules with no tasks.