Fix multiple searchs running at the same time