modified new search functions so that it does not limit the number of records downloaded