Multi-Bar Rest Collision

Hi everyone,

I get these collision with multibar rests, as shown below. I tried to play around with fixed H-bar length and flexible. Is there a way to avoid collision when there are time and key signature changes?

Thank you and best,
Nate