Fixed minor issue with logging in CSV.