Make DeleteNode() work even if the node was never linked.