Validate end date