Deleting the node.parent checking