Fixed a bug in the teacher spreadsheet when an exercise name is changed.