Very simple fix I discovered.
Change the variable type to anything, like Boolean, and then change it back.