MDL-47064 Grades: Final fix - set the grademax from the item, not the cat

Part of: MDL-46576