Fixes a problem where all the templates were marked as dead no matter what. The templ...