Fix #57: stop task expansion for multi-input nodes

The problem is that the duplicated multi-input node is wrongly connected. This
is a temporary fix that will be resolved when we analyse the inputs to the
multi-input node(s) and duplicate conservatively.