Fixed missing or shifted aggregate values.