There was a post in April where a pedal line had somehow become hidden and was causing a multi-bar rest to not consolidate properly.
To make the hidden pedal line show, the method used was to select the whole bar, invoke Edit > Filter > Pedal Lines, and then press alt+shift+left arrow.
Try that. It might help (or it might not).
If it doesn’t help, post the project here, or a cut-down version which contains the troublesome section, and it can be examined by others to see if the problem can be rectified.