GEOS5672: fixed nested group loop
Merge pull request #174 from svzdvd/GEOS5672-selfreferentialgroup2

GEOS-5672: fixed nested group loop
Merge branch 'master' of git://github.com/geoserver/geoserver