[#84105] WMS persistence fix. Layer name was ignored and persistence was not possible.
Merge pull request #177 from dpavon/84105-wmspersistencefix

[#84105] WMS persistence fix. Layer name was ignored and couldnt persist