[search] bugfix: system crushed on empty focus string