only automatically set the end date if it is blank.