Fix/3.x/issue 3130

As I talked with @gurbuzali, only Queryable entries are supported since "IllegalArgumentException" will be thrown.
Perhaps I'm missing something, but I don't understand where the IllegalArgumentException is thrown, since you also do asserts in a for loop.