- fix template rendering so that pencil icon is displayed for a special exam and also ensure it is not rendered twice