diff --git a/src/gui/views/treemodels/placemodel.py b/src/gui/views/treemodels/placemodel.py
index 3751e71ff..ef965c9fb 100644
--- a/src/gui/views/treemodels/placemodel.py
+++ b/src/gui/views/treemodels/placemodel.py
@@ -360,5 +360,5 @@ class PlaceTreeModel(PlaceBaseModel, TreeBaseModel):
if node.name:
return '%s' % cgi.escape(node.name)
else:
- level = len(self.on_get_path(node))
+ level = len(self.do_get_path(self.get_iter(node)).get_indices())
return '%s' % cgi.escape(COUNTRYLEVELS['default'][level])