fix #20997 fix #19149
fix #15943: Tuplet creation from empty measures (whole rests)