Attempt to fix merge sort