Fixed bug so netlist parameter swapping actually uses deep copy and doesn't changed original netlist