Dev: fix handling of empty variables in STATA-xml export

Dev: gets rid of a STATA warning and a data analysis nuissance