Fixing bug where 1100 events weren't saved to CSV

The max value check was applying to 1100 events too, and so they were never making it into the CSV export.