The current use of a list makes the consistency optimisation fail when new events are added since the index numbers within that list no longer relate to the same events.
Using a dict (with the hashed id from ironcage) as the key should solve that problem.