Enables the date range selected to be limited to a set time frame
Fixed merge conflicts, add range limit