Add support for literal ranges to BETWEEN predicates

@alazier 
Doesn't look like first is ever false. I would think this would break OR queries (assuming conditions are AND by default).