Slight edit in checkCourseHoursClash function