Correct error in jaccard calculation