Fix for search not being reset #13