Fix rare bug related to unset  variable.
Fix rare bug related to unset  variable.

cjduffett/synthea,synthetichealth/synthea,synthetichealth/synthea,AmartC/synthea,synthetichealth/synthea,AmartC/synthea,cjduffett/synthea