MDL-37546 Assignment fix assign_get_recent_mod_activity code cleanup regression.