handle case where template is deleted after notification has been posted