Date/time range picker bug fix