don't add fields to groupByArray twice