fix handling when no semesters available. fixes #17.