TEMP HACK
MDL-40843 Fixing errors in mod_assign
MDL-40843 Fixing errors in mod_assignment