Cancel reversed carets and restore the valid