Remove leftover debug statement in template code.
Merge pull request #2775 from jhoekx/remove-debug-in-template

Remove leftover debug statement in template code.