Changed validations for integers