Fix output format with both distances and siblings enabled.