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

I think that'd reduce test readability -- I'd rather not do that.