Fix error where classes with their prereq taken in the same semester were allowed