Small change to validate int function (debating whether or not to remove the default behaviour flag from validators (not from sanitizers though)).