Fix bug with parsing decimal.