Fixed indexing bug in mergesort