Issue with the handling of clef changes.
Versions 220.127.116.1143 and 18.104.22.16868 .
Measure prior to change of clef has a repeat. See image One.png attached.
Image Two.png , placing the clef where it belongs.
Drop clef in and it does not stay, rather it shows up in the following line. See image Three.png attached.
However , if the clef is placed in the measure with the repeat, it acts fine. Image Four.png