Fix fuzzer off by one error (#1047)