Fixed logic for filterTextInputs option.