Replace Category tag with Multi-Category tag

I’ve been looking for a Dynamo script to change out all type tags in a project for multi-category tags but had no luck so started one myself. I’m pretty green at Dynamo, but managed to get this to work. The only issue I’m having is that I’m not handling the lists very well. New tags are created with ends and elbows to match the existing type tag, but as my list manipulation is off, they are all being place in the location of the last list item with it’s elbow/end settings.
The other issue I’m having is I can’t get the original tags to delete.

This script is a modified version of something I found somewhere a month or so back so there may be some oddities. I even delved into Python to try and feed the head position and elbow/end positions to the tag creation location. It seems to work but it’s only reading the last line of the list and not cycling through each.

Can anyone please help me? Thanks.

Tag2MultiTag-testing-8.dyn (37.6 KB)