Is there a way to fix this, resetting the track take history to zero?
No there isn't. The ses file makes a record of every track that's ever been recorded in a session, and due to a 'peculiarity' in the way it's set up, this counter
never gets reset or decremented. If you try adding to the demo session, you end up adding track 165, or something like that. Shows you just how many tracks were in that session originally!