Fixed doQuery calls for cda