Fix wrong table reference for teachers.