Added query to delete all search terms (#290)