Make sure we actually represent the state of the unfiltered checkbox in the gui and in the actual search results. fixes #1940