Issue with the handling of clef changes.
Versions 22.214.171.12443 and 126.96.36.19968 .
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