Amend flamsteed serialisation to ensure event uniqueness.

nice. I was looking at that line the other day wondering why we used `s[s.length]` :/