Fixed a bug with submitting edits as a student.