Add support for literal ranges to BETWEEN predicates

@alazier 
Indeed, that should be first = false a few lines down.