Handle degenerate case when there are no positive/negative instances.