Bool flag instead of int counter in filterTuplets function
Optimization: move tuplet interval search outside the loop
Further optimization: precalculate all tuplet intervals
Use regular raster from TupletInfo, not from function parameter
Fix addition of unused tuplet to tuplet intervals
Optimize voice count calculation for tuplet error