TextNote.ByLocation - unexpected warning

I have strange situation with TextNote.ByLocation node. I think that all my inputs are correct (lack of null values) and node gives me the textnotes as expected, but in Dynamo it shows me warning: Null value cannot be cast to Boolean. What’s the problem and how to solve it?