Removed unused compareContainerVersions in ModList, fixed potential ArrayIndexOutOfBounds in ArrayUtils.