Fixed forced type deserialization bug