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

...ring.
@rlucioni @dianakhuang Fixes bug with templates expecting number but getting string
Got it.