fixed Groups relationship to refer to group table as BaseGroup