Fix api result merging.