Fixed potential NPE coming from federated graph service.