Changed handling for adding WMS with url paramters.