advanced search - updated query. updated toString in candidate