#37 Assignments' page: Fixed bug when an error ocurred when editing an assignment