[GEOS-6320] When migrating layergroups from 2.3.x Web Admin UI can fail