Fixed a bug where original nodes and links weren't removed correctly from dummy connections.