Combine soldier dropping their weapon on death, although they should not.

Dear All,
I have enabled the spawnflag to not drop weapons, but soldiers and metropolice still drop their weapons:


enemy:SetKeyValue("spawnflags", 8192)

What could cause it? What am I doing wrong?
Thank you in advance!
Papi