MDL-40843 Correctly access course_modinfo->get_groups()
TEMP HACK
MDL-40843 Fixing errors in mod_assign
MDL-40843 Fixing errors in mod_assignment
forum errors