Fixed TAG_Long value-checking error which was due to a bug in BigNumber