I’d use the script\breakpointer to check what’s happening here (put a
breakpoint instruction just above the line you want to check, and launch
the
breakpointer: you’ll be able to quickly inspect the variables and know
exactly what happens).