Fix a bug with decoding strings of numbers.