Fix null grouplayer on getcapabilities