Fixed export to CSV and XML to include work units.