In any gamemode milk is not removing potion effects.
Edit:
I tested with many potions(most of them).
Also I'm using Optifine and Forge.
On Multiplayer it works.
Edit 2:
I think the problem should be in some mod I installed, sorry for posting it here.
Give some more information, please! What potion effects, and what other circumstances?