TEIID-2725

Correcting generation of the Mongo query for a GROUP BY clause to project correctly when the query is grouped by single column