Thank you for your quick response!
I knew about the XVM duration timer option but never used it before as I never ran into an issue using the non-XVM option since using your modpack. - Switching to the XVM duration timer fixed it for me and I am grateful you reminded me of it.
Sorry about breaking your code though 🥹