When a group is deleted, if that group has naming privileges to stems, those memberships are not deleted. This will be fixed by adding revokeAllPrivilegesForSubject(Subject) to the access and naming adapters.