Fix duoQuery