Fix issue with traceback if no course options are left available.

This issue could occur if you took all the available courses at the
university, then tried to press C to enroll again.