between needs both from and to, if from or to is nil won't work