Fix querying the secure status of services