Fixed groupBy clause (was dropping params)