fix for CSV downloads not including null fields