Bugfix, thanks colin-umn, cf.
https://github.com/ndunand/moodle-mod_choicegroup/issues/9