Better null handling for isSameContig utility