Fixed completely senseless validation error

It seems, integers greater than 0, in certain contexts, are not actually
integers unless to_i is called on them. I don't even understand to be
honest, but hey, it works so whatever.