Fixed bug in BETWEEN.