Deleting sources/targets when removing a node from topology