Fixes CompactMap.IndexedIterator#remove not working correctly.
Merge branch 'release/2.1' into release/2.2