Fixing bug where 1100 events weren't saved to CSV