Bug fix: forgot to add declarations for the search_parents parameter