Added integer validation