Fixes query group by migration
Adds changelog entry