Fixing creation of ScheduleItem