Changing subflow in/outs leaving wires behind
Fixes #477