MT#5879 Fix non-numeric warning in template.