Fix/3.x/issue 3130

As I talked with @gurbuzali, only Queryable entries are supported since "IllegalArgumentException" will be thrown.
@pveentjer thanks, i will update test code and commit asap.