Fixed “not a primitive field” exception on inflate() for double type