fix #31431: create mmrests in all parts
Merge pull request #1241 from MarcSabatella/31431-mmrest-parts

fix #31431: create mmrests in all parts