Help, trying to get gaurd rails on a ship

I have a HUGE ship and trying to get guard rails on the top…
Tried duplivert but it f’s up on teh corners and when it does a 90 degre angle. Turn on rot and it just makes it a jumble

Sooo I tried array, but taht is still a mess…

Help need some sorta way to get this fixed… They need to linterlock kinda

Can you post an image? It would help to see what you mean. :slight_smile: