fixes values with predicate result in a transaction
review fix
Merge pull request #2270 from ahmetmircik/ms/fix/issue2260

Fixes #2260