fix isEqualToPair to be correct even _first or _second is 'nil'