Fix long to bigint assignment

Need to clear out the old value before adding the digits of the new one.