KLWP: Pasting global switches from one preset to another adds a "1" at the end

Tested this with two cleanly created presets with no current globals configured. In the past, it pasted fine with no additional “1” at the end. I’m trying to paste and duplicate multiple global switches. On version 3.77b435216.

Can reproduce this issue in 3.77 as well, but this looks intentional as the number added to the variable’s name gets incremented as you continue to paste.

Ace, thanks for confirming this, but this cannot be good, because if we have a lot of globals being referenced in a preset, we would have to remap all items referencing a currently configured global by adding a 1 at the end (which can be very time consuming) when simply copying them to use them in another preset (e.g. a blank preset). This worked fine until recently, with no modifications/remapping being necessary. I can understand adding a 1 at the end when a global is currently configured and one goes to paste in a same-named global, then a 1 at the end would seem appropriate so as not to conflict with the current global.

See the following issue where something similar occurred: