Sorry for the confusion.
The problem is that whenever I save the array to local storage, it just saves an empty array.
I changed the text to a text input instead and set the:
Set local storage "key" to "array.asJSON"
to be:
Set local storage "key" to "textinput.text"
and put the text input off-screen, and now it works.
It's kind of a workaround solution, but it works perfectly.
I'm pretty sure you're right, lionz, and it was just a weird bug.
I'm still unclear on what the problem was, but it's fine.
Thank you!