MDL-47260 core_grades: Prevent notices when setting up other aggregation method