Speed up tuplet filtering