fix: only show last group when using groupBy

this is hotfix to make 'groupBy' work