fix #25136: Opening a score with minimum empty measure for mmRest = 0 causes hang