Also, when you create a search, you specify the ty...
# suitescript
a
Also, when you create a search, you specify the type.
search.create({ type: search.Type.INVOICE, ... })
Does that type conflict with your filters here?