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

Asserts need not to be in the as_admin block, also 1-character variables could be changed to organization/filter. :smile: