Fixed a leak and added a safety check when rvalue casting a Value object.
Fixed a leak and added a safety check when rvalue casting a Value object.

jkhoogland/reflect,RAttab/reflect,RAttab/reflect,jkhoogland/reflect,Remotion/reflect,Remotion/reflect