fix enddate delta calculation and validation.
changelog changes