Fixing validation to use "digits" instead of "digit".