Fix logging empty anchors.