Turn multi measure rests off selectively
I have a problem with no solution I can find in the handbook: I need to turn off "multi measure rest" in one location while preserving it for the rest of the score (see example attached for the reason; my real life example looks even worse: the first ending stretches itself over the entire line instead of just the last bar).
Any ideas about how to do it? Put some music in and make it invisible? With two parts somehow?
I don't want to turn the function off altogether: it is a pain in the neck to have to count the single bars of rest in the part one plays out of.