Fixed problem with schedule creation in ScheduleBundle.