Fixes timeRange errors