Fixed bug that prevented proper creation of schedules and courses