Updated aggregates MIN and MAX to match AVG, SUM, and COUNT.