fixed wrong total of items found from search returned