fixup! fix global 'group by' analysis