Fixes Eventreport exporting as csv and also another error on some pages.
Fixes Eventreport exporting as csv and also another error on some pages.

cpina/science-cruise-data-management,cpina/science-cruise-data-management,cpina/science-cruise-data-management,cpina/science-cruise-data-management