Search function callback result fix