[FIX] group by bug

Merged Agustín Maio requested to merge fix-group_by into 7.0-stage

Merge request reports