Fixed bug where after clearing, running the same search as previous gives no results.