Fixed bug with validation templates expecting number but being passed st...

...ring.
@rlucioni @dianakhuang Fixes bug with templates expecting number but getting string
Isn't the decimal radix (10) the default for `parseInt`?