Filter out zero-weight hypotheses from distributions.