I have a gallery with checkboxes in it. I collect the selected values and add them to a collection:
Checkbox
onCheck: Collect(multiStates, ThisItem)
onUncheck: Remove(multiStates, ThisItem)
Then I have a textbox where I add the collection using Concat:
Default:Concat(Sort(multiStates, Value), Value, ", ")
This is a the issue. Once in a while this fails, because for some strange reason I need to change it to Result instead of Value:
//Using Value
Concat(Sort(multiStates, Value), Value, ", ")
//Using Result
Concat(Sort(multiStates, Result), Result, ", ")
This happens just randomly:

After working just fine for about a month, at this moment is using value, but a few weeks from now for no reason at all (that I know of), without making any changes anywhere, I have to go back and change the Concat function to using Result. Has anyone seen this behavior before? I'm leaning towards to creating a function to check if Result or Value are empty, and then right one, but I'm not sure how to accomplish this.
Thanks in advance.