docs: private void removeDeletedGroupFromParentGroups(ILockableEntityGroup group)
              throws GroupsException {
  
          //    IEntityLock lock = null;
          List<ILockableEntityGroup> lockableGroups = new ArrayList<>();
          try {
              String lockOwner = group.getLock().getLockOwner();
              for (IEntityGroup containingGroup : group.getParentGroups()) {
                  ILockableEntityGroup lockableGroup =
                          GroupService.findLockableGroup(containingGroup.getKey(), lockOwner);
                  if (lockableGroup != null) {
                      lockableGroups.add(lockableGroup);
                  }
              }
              for (ILockableEntityGroup lockableGroup : lockableGroups) {
                  lockableGroup.removeChild(group);
                  lockableGroup.updateMembers();
              }
          } catch (GroupsException ge) {
              throw new GroupsException(
                      "Could not remove deleted group " + group.getKey() + " from parent", ge);
          } finally {
              for (ILockableEntityGroup lockableGroup : lockableGroups) {
                  IEntityLock lock = lockableGroup.getLock();
                  try {
                      if (lock.isValid()) {
                          lock.release();
                      }
                  } catch (LockingException le) {
                      log.error(
                              "ReferenceIndividualGroupService.removeDeletedGroupFromParentGroups(): "
                                      + "Problem unlocking parent group",
                              le);
                  }
              }
          }
      }