Avoid adding the newly added date objects to date_ranges for json queries