Fixed bug within Value set it to a new value of the same type.