Fix term date issue.