Fix broken global search test.