Stop trying to build a template that I've removed.
Add filtering by active or inactive.