Add bar number to assert message for tuplet consistency checking