Consider labels during overlaps computation.