Fix behavior of search field when no archive is set.
Fixes #49