Corrected theme editing to not create multiple default templates.