correct error in or.contingency

Corrects error whereby or.contingency would fail if either column
contained all zeroes or ones