Use getInternalSession to avoid infinite loop when walking node hierarchy for roles
Use getInternalSession in canRemoveChildrenRecursive as well