Okay, I took a deeper look, and it appears the validation of binary meta points and other scripts with expected result types has an issue with returning false, as the message reports as though it return UNCHANGED; . This does not affect the actual runtime of the points or other such scripts. So, that explains the output on the validation in the first post. https://github.com/infiniteautomation/ma-core-public/issues/1487
Thanks for bringing this to our attention!
I have not been able to reproduce the event message except by returning a value with something like the lastValue function, although it could be a binary point doing that as well. In your first script there is an else if so it would be possible not to return a value, although I would expect it to get a false (binary) / 0 (numeric and meta) / empty string (alphanumeric) value if nothing is returned.