Fix typo in advanced_search method