Prevent nondeterminism in nested aggregates.