bug fix: fixing UserGroupMembership#destroy in order to avoid DagLink counting issue for indirect links.