bugfix in TeacherSelector with vacant course