Fix a problem with nested deserialization.