Fix publications and subscriptions for groups collection.