Fixed two nasty bugs in isc_merge.