fixed error occuring while resolving a template (when the content did no...

...t change, there was a trace with an error in it)