Widget Switcher Index Variable is Different in Different Blueprints When Nothing Else is Changed

Hello! I’ve stumped myself with troubleshooting an issue I’ve been having. I’m trying to use a widget switcher to make my character have different emotions. I’ve set it up in a way that makes sense to me, and theoretically, it should work. I used print string to display the active widget index. Here’s where it gets weird. When printing from the UI icon that the widget switcher is in, the number 0 is presented on the screen every tick, meaning that the index isn’t changing, and is sticking to the default value. But when I do the same thing and print the string from my task blueprint (a task within a behavior tree. I’m using it to make a character’s emotions, text, and name variables in each task) the string printed is peculiarly working. It displays the correct number that I’ve set in the behavior tree, but it’s drawn directly from the active widget index, which is the exact same data that the UI icon is claiming is 0 all of the time. If I run both at the same time, the string will print 0 until moving onto the next dialogue, and then it displays the correct number once before continuing the string of 0s.
I hope I’ve explained well enough. I have images of my task BP below, as it’s the only blueprint that has script in it related to this. What would explain why the task and UI blueprints would display different values for the exact same variable at the same time? The variable belongs to the UI icon, and the task is drawing directly from it. So why would they be different.
In addition, I’m wondering if there’s anything that can be improved upon inside of my blueprint, or if anyone knows how to make it work (which is kind of what this question is about anyway) It feels like I’m right on the edge of figuring it out, but this really has me stumped. The widget switcher switches them perfectly fine in the designer, which I’m not sure if that means anything but I thought I would mention that.
Thank you!!

https://drive.google.com/drive/folders/1X5b-ieHEOOKvLKBiu4YCfzKmaIAWWcjc?usp=sharing

Update: I changed it so that the active widget index was set on every tick because before, it seemed to switch back after one tick when I do it just at the beginning. Which means every single tick, the widget index is reset to the correct value. But it still doesn’t work, and it fully seems like the widget switcher index value is different for the task and ui blueprints. On one tick, if I use print string on both blueprints, it’ll dysplay the correct value, and then the 0 value right after. This is really strange and I’ve done everything I can think of.