Fixed bug in RemoveService.