InBetweenPredicate fix