Learning/Forgetting Skills in Battle

So I am trying to limit a skill that's triggered by the enemies HP.

So when I go to the troops section and create event: Enemy HP<50%

I choose Actor: Change Skill: Entire Party: Forget Skill X

Unfortunately, when the event is triggered. The skill is still available.

Am I doing something wrong? I was reading that maybe because I "added skill: X" in the actors' traits and thus these can't be forgotten? I'm not sure...
Why not set it up to add a state that seals specfic skill (and thus make said skill unuseable)?
Also make it where the conditions are set up to run at the end of a turn or moment, not battle.

Original thread: https://forums.rpgmakerweb.com/threads/learning-forgetting-skills-in-battle.84185/