Fix incorrect coalesce() output when one input range is wholly