[1.7.x] Fixed #23275: Unmanaged models kept by autodetector, ignored by ops