Fix up coverage calculation.