modified default group membership query