Fix results from previous search are shown (Search)

Fix results from previous search are shown.
Fixes #186

Update: Rebased