Fixed bug in unmasked-non-zero-links.

Was texting index i against mask but not index j.  Now testing both.