Fix for MAGN-185

Fix paste command to send along correct number of ports for variable
input list nodes.