Fix export of null values