Only add PathExpression to groupByClause

Fix issue due to https://github.com/Abhoryo/APYDataGridBundle/pull/402