Fix bug that prevented creating a schedule and adding courses