fixed bug with year_to in get_windpark_nearest