For some reason, na_variables.gd isn't getting picked up, so the weights don't get adjusted for me. Trying the test script works, meaning it does affect the unique NPCs.
I've resolved my problem by just hardcoding the weights to 0 in the core variables.gd and it's all fine now.
Thank you for the support!