tags mess up node hierarchy in egg?

I have an egg file I’ve exported from Blender 2.4 with chicken.

Here is the scene in Blender:

A cube with the tag “main”. The cube has a child cube itself.

I want in Panda to find the Cube by its tag, then access its children.

from panda3d.core import *
import direct.directbase.DirectStart

model = loader.loadModel('a.egg')
model.reparentTo(render)

node = model.find('**/=main')

for i in node.getChildren():
	print i
	i.setX(4)
	
run()

node.getChildren() seems to also contain “node” itself! Why?

egg:

<CoordinateSystem> { Z-up }

<Comment> { "Egg laid by Chicken for Blender, version R91" }

<Group> Cube {
  <Tag> main {  }
  <VertexPool> Cube {
    <Vertex> 0 {
      1.0 0.999999940395 -1.0
    }
    <Vertex> 1 {
      1.0 -1.0 -1.0
    }
    <Vertex> 2 {
      -1.00000011921 -0.999999821186 -1.0
    }
    <Vertex> 3 {
      -0.999999642372 1.00000035763 -1.0
    }
    <Vertex> 4 {
      1.00000047684 0.999999463558 1.0
    }
    <Vertex> 5 {
      -0.999999940395 1.0 1.0
    }
    <Vertex> 6 {
      -1.00000035763 -0.999999642372 1.0
    }
    <Vertex> 7 {
      0.999999344349 -1.00000059605 1.0
    }
    <Vertex> 8 {
      1.0 0.999999940395 -1.0
    }
    <Vertex> 9 {
      1.00000047684 0.999999463558 1.0
    }
    <Vertex> 10 {
      0.999999344349 -1.00000059605 1.0
    }
    <Vertex> 11 {
      1.0 -1.0 -1.0
    }
    <Vertex> 12 {
      1.0 -1.0 -1.0
    }
    <Vertex> 13 {
      0.999999344349 -1.00000059605 1.0
    }
    <Vertex> 14 {
      -1.00000035763 -0.999999642372 1.0
    }
    <Vertex> 15 {
      -1.00000011921 -0.999999821186 -1.0
    }
    <Vertex> 16 {
      -1.00000011921 -0.999999821186 -1.0
    }
    <Vertex> 17 {
      -1.00000035763 -0.999999642372 1.0
    }
    <Vertex> 18 {
      -0.999999940395 1.0 1.0
    }
    <Vertex> 19 {
      -0.999999642372 1.00000035763 -1.0
    }
    <Vertex> 20 {
      1.00000047684 0.999999463558 1.0
    }
    <Vertex> 21 {
      1.0 0.999999940395 -1.0
    }
    <Vertex> 22 {
      -0.999999642372 1.00000035763 -1.0
    }
    <Vertex> 23 {
      -0.999999940395 1.0 1.0
    }
  }
  <Polygon> {
    <Normal> { 0.000000 0.000000 -1.000000
    }
    <VertexRef> { 0 1 2 3 <Ref> { Cube } }
  }
  <Polygon> {
    <Normal> { 0.000000 -0.000000 1.000000
    }
    <VertexRef> { 4 5 6 7 <Ref> { Cube } }
  }
  <Polygon> {
    <Normal> { 1.000000 -0.000000 0.000000
    }
    <VertexRef> { 8 9 10 11 <Ref> { Cube } }
  }
  <Polygon> {
    <Normal> { -0.000000 -1.000000 -0.000000
    }
    <VertexRef> { 12 13 14 15 <Ref> { Cube } }
  }
  <Polygon> {
    <Normal> { -1.000000 0.000000 -0.000000
    }
    <VertexRef> { 16 17 18 19 <Ref> { Cube } }
  }
  <Polygon> {
    <Normal> { 0.000000 1.000000 0.000000
    }
    <VertexRef> { 20 21 22 23 <Ref> { Cube } }
  }
  <Group> Cube.001 {
    <Transform> {
      <Matrix4> {
        0.435749 0.000000 0.000000 0.000000
        0.000000 0.435749 0.000000 0.000000
        0.000000 0.000000 0.435749 0.000000
        0.000000 0.000000 0.000000 1.000000
      }
    }
    <VertexPool> Cube.001 {
      <Vertex> 0 {
        0.435748755932 0.43574872613 -0.435748755932
      }
      <Vertex> 1 {
        0.435748755932 -0.435748755932 -0.435748755932
      }
      <Vertex> 2 {
        -0.435748815536 -0.435748666525 -0.435748755932
      }
      <Vertex> 3 {
        -0.43574860692 0.435748904943 -0.435748755932
      }
      <Vertex> 4 {
        0.435748964548 0.435748517513 0.435748755932
      }
      <Vertex> 5 {
        -0.43574872613 0.435748755932 0.435748755932
      }
      <Vertex> 6 {
        -0.435748904943 -0.43574860692 0.435748755932
      }
      <Vertex> 7 {
        0.435748457909 -0.435749024153 0.435748755932
      }
      <Vertex> 8 {
        0.435748755932 0.43574872613 -0.435748755932
      }
      <Vertex> 9 {
        0.435748964548 0.435748517513 0.435748755932
      }
      <Vertex> 10 {
        0.435748457909 -0.435749024153 0.435748755932
      }
      <Vertex> 11 {
        0.435748755932 -0.435748755932 -0.435748755932
      }
      <Vertex> 12 {
        0.435748755932 -0.435748755932 -0.435748755932
      }
      <Vertex> 13 {
        0.435748457909 -0.435749024153 0.435748755932
      }
      <Vertex> 14 {
        -0.435748904943 -0.43574860692 0.435748755932
      }
      <Vertex> 15 {
        -0.435748815536 -0.435748666525 -0.435748755932
      }
      <Vertex> 16 {
        -0.435748815536 -0.435748666525 -0.435748755932
      }
      <Vertex> 17 {
        -0.435748904943 -0.43574860692 0.435748755932
      }
      <Vertex> 18 {
        -0.43574872613 0.435748755932 0.435748755932
      }
      <Vertex> 19 {
        -0.43574860692 0.435748904943 -0.435748755932
      }
      <Vertex> 20 {
        0.435748964548 0.435748517513 0.435748755932
      }
      <Vertex> 21 {
        0.435748755932 0.43574872613 -0.435748755932
      }
      <Vertex> 22 {
        -0.43574860692 0.435748904943 -0.435748755932
      }
      <Vertex> 23 {
        -0.43574872613 0.435748755932 0.435748755932
      }
    }
    <Polygon> {
      <Normal> { 0.000000 0.000000 -1.000000
      }
      <VertexRef> { 0 1 2 3 <Ref> { Cube.001 } }
    }
    <Polygon> {
      <Normal> { 0.000000 -0.000000 1.000000
      }
      <VertexRef> { 4 5 6 7 <Ref> { Cube.001 } }
    }
    <Polygon> {
      <Normal> { 1.000000 -0.000000 0.000000
      }
      <VertexRef> { 8 9 10 11 <Ref> { Cube.001 } }
    }
    <Polygon> {
      <Normal> { -0.000000 -1.000000 -0.000000
      }
      <VertexRef> { 12 13 14 15 <Ref> { Cube.001 } }
    }
    <Polygon> {
      <Normal> { -1.000000 0.000000 -0.000000
      }
      <VertexRef> { 16 17 18 19 <Ref> { Cube.001 } }
    }
    <Polygon> {
      <Normal> { 0.000000 1.000000 0.000000
      }
      <VertexRef> { 20 21 22 23 <Ref> { Cube.001 } }
    }
  }
}

How about trying out recent Blender versions with YABEE as exporter? Maybe it works that way, since YABEE was written from ground up.