Correct C_DV_QUANTITY conversion logic

Handle id-terms in DV_ORDINALs