Getting a NPE pausing a rule?

First, let me say I re-wrote the small rule in 5.1 and it's working fine now...

I have this rule which is Rule 5.0 on HE 2.3.1.138 (but I'm pretty sure it was happening pre 2.3.1 update...we were just going away for a couple days and I wanted to look into the problem this time before leaving). Originally, the set mode commands were after the pause/resume, I re-ordered for troubleshooting,

What was happening was I would flip the virtual switch and some things that were directly tied to the state of the switch were working properly but some things tied to the mode weren't and I realized the mode wasn't getting set to vacation when the switch flipped, but it was going back to home when I switched off. I checked the logs and saw the following:

app:2292022-04-21 07:13:38.157 am errorjava.lang.NullPointerException: Cannot invoke method pauseRule() on null object on line 6440 (method allHandler)
app:2292022-04-21 07:13:38.071 am infoAction:     Pause Rules: Notifier - Shop Open, Thermostat Wake Mode
app:2292022-04-21 07:13:38.052 am infoAction: IF (Vacation Mode is on) THEN
app:2292022-04-21 07:13:37.959 am infoRule - Vacation Mode Triggered
app:2292022-04-21 07:13:37.947 am infoRule - Vacation Mode: Vacation Mode switch on

So the pause rule would error and it would never execute the mode change. The 2 rules appear to work fine, for S&G I opened each and hit done and tested and it still didn't work. As I said in the opening I re-did the rule as Rule 5.1 and it's working fine now. I just figured I'd report this in case it was an issue and and it was something that needed fixing for the older RM impl.