Change date to one closest to the latest agreement