Fix search vulnerability