Take tuplet count into account when filtering tuplets