Checked for allowDataDeletion ahead of template population. If true, don't populate template because you don't want to restore those values.