Fixes for saving the schedule.