Gun dealer & ALLOWED = TEAM_GUN Does not work?

Ok, what happends is that I created a code that is supossed to make Gundealer buy a Colt 1911, it worked but there is something wrong
All my others job can ALSO buy the gun, even when I have set it too Allowed = TEAM_GUN
Look at the lua code for it:

Here is a video explaining my problems better:
I checked the job lua for the other jobs and I can’t spot anything wrong causing this?

You will possibly have to edit your Config.lua so only gun dealers can actually have guns.