Is Defog bugged?

I obtained a Swanna with Defog to deal with Stealth Rock and Sticky Web from Xavier’s Shuckle. However, when I used Defog in the battle, the entry hazards were not cleared. The evasion reduction went through however.

As far as I can tell, the game mechanics are based on Gen VI, so anyone else have success with Defog in-game?

Edit: I should add that I am using the version 1.2.2.

It’s possible. I’ve experienced Magic Bounce not reflecting entry hazards even though they were always supposed to. Report it on the bug tracker.