Correctly hide templates on node edit pages
Small fixes