Flamer doesn't let me switch to melee weapon while reload animation starts

As it says on the tin: Often when my flamer runs empty, I get stuck in the reload animation, and it won’t let switch to melee for several seconds and multiple attempts to switch. I experienced this with flamer+eviscerator combo. Haven’t tried if it occurs with any other melee weapons.