Fix bug: average value for a single aggregate isn't the min or max thereof