The condition is fine… so the problem must be elsewhere - i.e. in the parent datasource(s)

check the debugger to find the issue (or share a link to your editor).