added a protection before writing out the corr NTuple

No match.