```\nif (validatorDetails.cap > 0 && newValidatorCap == 0) {\n            // If there are active deposits, queue the operator for strategy exit.\n            if (activeDeposits > 0) {\n                -> operatorDetails.queueOperatorStrategyExit(operatorId, BEACON_CHAIN_STRATEGY);\n                .\n            }\n           .\n        } else if (validatorDetails.cap == 0 && newValidatorCap > 0) {\n           .\n        } else {\n           .\n        }\n```\n