Aggregations: fix rounding issues on DST switch.

Closes #8339.