Fix search bug in production