Right.  I totally agree and will make this change.  But this brings up the case where someone has dynamic index creation.  The code I have here will not catch these more complex situations.  I think I need to add the configuration option to ignore templates altogether (but have it be off by default).