Issue 9880 - Redundant template instance displaying in error message

http://d.puremagic.com/issues/show_bug.cgi?id=9880