fix outgoing step not being included when copying workflow (fixes issue #2119)