Changed the hashmap to work with the search_id rather than the search term