Added cache to search_result items_by_first_appearance