make the string filter logic a little clearer

`input_name_simple` is only ever called when the method already matches
a search condition so there's no need for it