Small correction to merge_ere