MDL-41075 Fix errors on Choose... options in Moodle.