Belated congratulations! This is really cool and it's always interesting to see the different approaches people take, so especially valuable to share the code. I'll definitely put this one in the addendum.
The hardcoded ID in your code was added after it was generated just before deleting everything else, right? Otherwise I'm stumped.