Compare instance of predicates, not exact class

We want the same behavior for any instance of the boolean
predicates, not just for the exact boolean classes.

Change-Id: I2d1168c7a69e03db4b8dda3ddf60275a603c3e27
3 files changed