fix template error when showing old comments (fixes #136)