Added deleting for schedules.