Missing print layers

Fixes #939 
- Wrong number of styles paramters by WMS request
- Encoded group layers shall not replace already existing encoded layers.