Fix delete all search results functionality

Delete all search results was broken, and people are noticing... hey, here's an idea, let's fix it maybe?