Small bug in the MergeSort implementation