Fix for aggregation numeric formatting bug