How to find nodes with a scalar predicate having values found during traversal

Should I go ahead and file a bug?