Added integer validator + fix number.getInteger