Fixed a logic flaw when it is set to continuous attempting to enroll courses