Fixed issue with sample records not being removed if there's a new search.