correct cancel/term date validation