Fix search filtering an implement a callback