fixed the way that search results items are retrieved.