Sometimes when trying to bar swap, the weapons won't change unless I actually press the command multiple times. And then there are times when the weapons don't change but the bar swaps and the attacks activate with the wrong weapons in hand.
I have this problem too, but it's been that way for a long time. I think it's just an animation timer causing bar swapping to be clunky when server is lagging.