bug fix

- fixed bug with deleting outgoing lines from deleted nodes.