added fallback to from-date & to-date in dateRange if there are no tasks in any row and both default values are defined