Fix issue for singleDatePicker range