won't have a selected class if the teacher has no registered classes