Fixes Issue #12

Searching for an empty string clears the search filters.
While here, fix some bugs with the search functionality.