First part of a fix to resolve an issue with the second portion of the merge sort returning part of the results.