changed from using AbsoluteTime range to RelativeTime range which gives the time range decided by the TimeRangePicker instead of the total time range data has been indexed