SqlKata Version: 1.1.7
.NET Framework: 4.7.2
Observed Behavior: After compiling a query that contains multiple clauses (and nested query), the final clause which is a group by is silently removed from the clauses collection.
Expected behavior: The group by clause is added to the resulting SQL and not removed from the clauses collection. Additionally, if the compiler cannot add it, an informative exception is thrown.


