Ensure we don't read junk memory in a candidate.

nwc10++ for reporting the Valgrind/ASAN error that was probably caused
by this.