fixed the infinite loop when course is of the form EE 463 (3, Irregular, FaSp) ....for example