MDL-35984 grade: Recalculate min/max for sum of grades when hidden grades are involved.