[Naval, Tim] Fixes export to csv bug.