Remove not necessary function argument
Refactoring of tuplet filtering code