Fix a corner case for overlaps.