Remove the left-over uses of `inactiveModules` (see #6142)