Handle array segment not defined in DataCompare

Added section to evaluate if array segment is not defined. If not defined in both arrays then function returns true, otherwise returns false for the segment.