MDL-46498 mod_assign: display correct grading status