fix bug 1044068 - Prevent 'Cannot call execute of null' errors
Merge pull request #50 from darkwing/1044068-template-body-missing

fix bug 1044068 - Prevent 'Cannot call execute of null' errors