Fail queries that have two aggregations with the same name.

Close #6255