Ranks not being considered admin?

I have a rank above and below admin. I coded my VIP only jobs for VIP or if the player is admin, I have a group called Senior Admin and it isn’t allowed to use the VIP jobs? I code it in, every group can use the VIP jobs, but then whenever the server restarts or crashes, it does not work for Mod or Sr.Admin? Any ideas on how to fix this? Thanks!

Here is my VIP Restricted jobs coding.


customCheck = function(ply) return ply:GetNWString("usergroup") == "VIP" or ply:GetNWString("usergroup") ==  "Platinum VIP" or ply:GetNWString("usergroup") == "Moderator" or ply:IsAdmin() end