Fixed bug when there aren't schedules in recording_schedules