MDL-29327 core_grade: removing some code that is messing up the categories and items screen when no grade categories are used