Hi @Coe here below a video of how I made it, and works. Try on your previous file that you posted. Just open it and without doing anything else:
-select the first double coda, press delete
-repeat for the other 3 duplicates
-now you can add the bars as shown in the video.
If you have some problems, I noticed that (immediately after deleting the duplicates) resetting the layout options to Factory helps (don’t know why).
Tell me if it works.
explication video