Exit prematurely on empty LQB search strings

Some searches like '%' generated empty strings in LQB
which led to invalid query exceptions "<EOF>" etc.
Ignore acquisition strings for non-images