Yanfly's Event chase player script movement persists between pages

I'm working on making event based encounters where enemies on the map would chase the player if they get too close using Yanfly's Event chase player script. When you win a battle, the event disappears, and when you win another battle, the event respawns.
The problem is, the event still chases the player even if I give it another page with a corresponding switch that would prevent it from following the player. Apparently the chase commands for the script apply for the whole event rather than on a page by page basis.

Things I tried:

Erase event: Almost perfect solution, the problem is that if I reenter the map or load the game in that map, the missing event comes back.
Give the event a Set move route event command with @chase_range = -1 in it: This would make the event impossible to chase the player, given their chase range is negative, and therefore the event cannot detect the player. Works only the first time the command triggers, second trigger and beyond don't work for some reason.

There was a solution for this given by Rachael in rpgmakercentral.com but the site is unavailable, at least for me.

Is there a solution for this?

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-event-chase-player-script-movement-persists-between-pages.177718/