Adds the year range to the search