Chained stdWrap is broken for boolean stdWrap function types
Since 4.5 we have stdWrap functions available to be chained with other stdWrap functions.
So we can do something like
10 = TEXT
10.value = 10*20
10.prioriCalc = 1
10.prioriCalc.if.isTrue.field = doCalculation
Unfortunately this doesn't work for boolean functions like prioriCalc, since they don't set the corresponding "isExecuted" key when their result was false in the first run.
This is why the function will be called twice, while having the value set to "Array" in the second run, which will always return something else than false.
Therefor we need an additional "else if" to check for this special case and set the key to avoid the second function call.
I can't push to GIT currently, so attached you find a patch that solves this problem.