The word "whether" already implies uncertainty about whether something is true or false, so we can ignore the "not" in the phrase "whether S+ V+O did not."