Hide cautionary before repeat

I’m having trouble figuring out how to hide this cautionary key before the repeat bar at the end of the system in the image below. Author doesn’t want the key signature there. Repeat goes back a couple hundred measures to a different key. Selecting the barline and selecting hide cautionaries in the properties panel is not working. Selecting the key signature it’s going to and telling selecting hide cautionaries in the properties panel didn’t work. Went through Engraving options and didn’t see any global options there. Suggestions?

Notation options>Repeats>Clef and key signatures in repeat structures… set to Do not track.

Thank you!!