Removed old date range array code