Issue #2762549 by alexpott: Part 2: Array was modified by the user comparison function in ConfigDependencyManager::getDependentEntities()