Switch the weapon if you cannot fire after revive, ->pistol->primary solves the bug.
I know that, still doesn't help in the heat of battle when you have 1 sec to fire before they drop you. When I press to switch to secondary they already drop me. Really sad bug