Do not set date range if values are undefined or haven't changed