When do aggregation clauses apply?