Only add PathExpression to groupByClause

Fix issue due to https://github.com/Abhoryo/APYDataGridBundle/pull/402
Merge pull request #412 from sterrien/master

 Only add PathExpression to groupByClause