Geo tree model bug fix

Fixed index error in GeoTreeModel where name changes to surfaces would result in a programme crash when the geometry did not contain polylines.