Fixed a bug with an inverted boolean value when unlinking a node.