Bug 41857 - queries for Text properties work incorrectly