Bug fixed for merge sort.