Fixes bugs with workspace-agnostic Geoserver class.