Fix CSV export for null data.