Reap old event IDs. Add unit test for it.