Fix off time check function
Add Q_ASSERT that there is no non-tuplet chords inside tuplets
Fix sorting of chords for quantization + add Q_ASSERTs
tmp