Any time you are adding or removing a repeating element in an Xlate you need to use your own counter in the Destination Pane of the Actions.
I use something like %s99 as that stands out.
This means you need to manage that counter. Initializxe it and keep adding one to it appropriately.
If you need mmore detailed assistance email me and we can work off line.
Also I don’t think you need that CONTINUE and SUPPRESS but that may be another topic.
email: jim.kosloskey@jim-kosloskey.com 29+ years Cloverleaf, 59 years IT - old fart.