score:3

Accepted answer

The reason why is the And predicate creates a new expression which you are not saving. It doesn't modify the existing one in place. You need to switch every returnPred.And line to

returnPred = returnPred.And(...

Related Articles