public PredicateElement addBetween(String propName, Object v1, Object v2) { return predicates.addBetween(propName, v2, v2); }
Note how v2 is specified twice... should be v1, v2.The workaround is to use a two clauses... a greater than and a less than clause.
Fixed