Fix/3.x/issue 3130

As I talked with @gurbuzali, only Queryable entries are supported since "IllegalArgumentException" will be thrown.
Yes, you are right, asserts are not necessary and exception is thrown at "pred.apply()" method.