getgroupbytype changes