Fixed a bug editing a teacher's short name