PTFM-11707: dxpy constructor errors

@psung, care to review?