exams that students have written/started writing should not be editable now

- fixed check for whether any students have started writing exam in
examEditFuncs