fixes #5235: it's impossible to create filters with invaid searches

Is it possible to be more specific?  IIRC scoped_search has its own exceptions