Fixed patch from pull request #183 from occamlabs/3.4-wms-fix-group-layer-style-handling.