3.5.5 Usiner restrict trait to stop a CTRL-F

I have 5 nationalities and I want to restrict the ability to activate a layer using CTRL-F . I am using the Restrict Commands trait and have the following as the test {PlayerSide!~“Italy”} I understand this to be If the Playerside is not equal to “Italy” then stop the following commands.

No matter what I try the test does not see that the player is Italy, I have tried double quotes or no quotes and still the command does not prevent other players from flipping the counter.

What am I missing?

The correct syntax is !=, not !~