Much improved algorithm for UnorderedIndexWritesListDecorator