fix multi db search countonly problem