Remove null columns when generating csv with all data.