SP-840 Small tweak to fix NaN showing up in date template output.