Fix remove outdated replicas + add logs.