A small hack fixup to allow read_literal to read literals with datatypes.