Clef between two repeats?

Hi all -

When I have a clef change after a barline with two repeats (a start repeat and end repeat - what is that called?), the clef gets sandwiched between the two bar lines. I would like it after the second (so just before the first treble note, here a C-sharp). [See attachment]

Is this possible?



[Edit: apparently this also happens with time signatures.]

See and please search in future.

Dang it - I did search, Leo. Sorry about that, and thanks!