Fix problem with unsetting.
Fix problem with unsetting.

materialsproject/custodian,specter119/custodian,davidwaroquiers/custodian,materialsproject/custodian,specter119/custodian,specter119/custodian,xhqu1981/custodian,materialsproject/custodian