MDL-38101 Completion: Error when teacher/admin marks activity complete