Fixed BasedInteger.digits case. Should be upper case