Fix nil error in submissions/show view when exercise deleted.