Correct dates of values to ensure that they are consecutive.