Inconsistent query result

There’s a bug that we recently fixed in v24.1.1 related to scalar predicates like the one you are using. Maybe there are more issues remaining. Can you give me exact instructions that I can use to reproduce the issue that you have?