Fixed minor Smarty template issue