MDL-42219 quiz: Fix alternate name warnings when submitting a quiz attempt