Issue #49: CSV export works again without errors