Fixed a bug with ChunkList.mergesort where we weren't properly handling
empty lists.