MDL-36435 fixed report grades when sum of grades aggregation is used.