Fixed a bug in the multi-digit number parsing code.