Fix error when all services are available.

Change-Id: I834f578ce9bea2819e1a440d434a6a0ae55fab14