Fix bug in number parsing.