added fixes for layergroups to geoserver