Instead of getting `rangeFrom` / `rangeTo` and calculating the diff I can just map `TimeRangeComparisonEnum.DayBefore` to `1d` and `TimeRangeComparisonEnum.WeekBefore` to `1w`. Then the value is `PeriodBefore` we don't have any other options which means even without redirects we will still get the default value. @dgieselaar WDYT?