Fixed call to search method