title: Two nodes stay linked after deleting wires
body: <p>I have created a node in node-red. When I delete the wire connecting to to another nodes the wire disappears I then deploy the entire flow and although the wire is deleted the node continues to affect the node it was previously joined to. There are nothing else connected to the two node. The issue disappears on restarting node-red.</p>
  
  <p>Are there any flags that I need to disable. It's never happened on any other node and the problem persists across node-red installations.</p>
  
  <p>I'm not sure what code would be causing this issue could you advise me why this would occur? Or what section of the code to post as the files are quite large.</p>
  
  <p>Thank you.</p>