MDL-46576 code_grade: a bandaid fix to avoid trying to update grades when we aren't viewing grades