Fixing loop result predicate parsing issue.