fix for xml_set() where setting a None value did not reset the original
value