Fix WMS groups.