Small fix to ScheduleController