Fixed typos in mergeResults()