Fixed bug related to type of numSemesters