JCR-4121: ConcurrentModificationException in InternalVersionHistoryImpl.fixLegacy() Merged revision 1787043 from trunk