Fix search regression test