Fix mheap merge