Fix only_integer validation when locale delimiters are used.