bugfix with aggregators on grouped types