Fix flapper in search test