Fix bug: the result list hasn't been cleaned up after each search.