Fixed isInt() method in lib/validators.js