fixed another issues in templates.js causing grief in topics admin view