CLC-4154 - Fix error when no teaching / student semesters