Status not changing when Raidable Base has been despawnedSolved

I run a PVE server with PVP enabled in the Raidable Bases.

When the Raidable Base has despawn and the zone is removed the OnPlayerExitedRaidableBase is not triggered so it still shows the PVP status to the players inside it.

Is it possible to use OnRaidableBaseEnded then check all players zone again?

Something like this?

        private void OnRaidableBaseEnded(Vector3 raidPos, int mode, float loadingTime)
        {
            foreach (var player in BasePlayer.allPlayerList)
            {
                CheckPlayerZone(player);
            }
        }

Thank you.
Updated.

Locked automatically