Adjustment to template delete method
Merge pull request #3 from andylyall/2013.07

Adjustment to template delete method