### Issue type Engraving bug (incorrect score rendering) ### Description with steps to reproduce 1. Open tempate "Sting Quartet" 2. Add notes in the second stave only, add a repeat, repeat count 3x 3. Open custom part, reveal top stave then second stave 4. A secont "3x" appears at the end of adjusted MMrest <img width="672" height="360" alt="Image" src="https://github.com/user-attachments/assets/97c31076-49d8-47b8-b03e-f6427b229b5d" /> ### Supporting files, videos and screenshots https://github.com/user-attachments/assets/1f0875f2-9a4d-4209-8d7f-ffadef931574 ### In which versions of MuseScore Studio is this issue present? OS: macOS Tahoe (26.2), Arch.: arm64, MuseScore Studio version (64-bit): 4.7.0-260217043, revision: github-musescore-musescore-64eba24 ### Regression No. ### Operating system MacOS Tahoe 26.2 ### Additional context _No response_ ### Checklist - [x] This report follows the [guidelines](https://github.com/musescore/MuseScore/wiki/Reporting-bugs-and-issues) for reporting bugs and issues - [x] I have verified that this issue has not been logged before, by searching the [issue tracker](https://github.com/musescore/MuseScore/issues) for similar issues - [x] I have attached all requested files and information to this report - [x] I have attempted to identify the root problem as concisely as possible, and have used minimal reproducible examples where possible
Issue type
Engraving bug (incorrect score rendering)
Description with steps to reproduce
Supporting files, videos and screenshots
video1359740215.mp4
In which versions of MuseScore Studio is this issue present?
OS: macOS Tahoe (26.2), Arch.: arm64, MuseScore Studio version (64-bit): 4.7.0-260217043, revision: github-musescore-musescore-64eba24
Regression
No.
Operating system
MacOS Tahoe 26.2
Additional context
No response
Checklist