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

Fixes #2260 (maintenance)