[trunk] Fix a crash with injected dependents, when they have not been asked to move ranks yet