Fix issue when a the `preferred_ip` is deallocated from the node.