query: fix heinous bug.  was assuming the header of the first record return contained accurate header info for all following rows - fixed only for type=dictus