[searchcursor addon] Refuse to search for queries that match everything

It doesn't do anything useful, and makes replace-all loop
forever.

Closes #2259