ns_get_unless_inactive
if (!ns_get_unless_inactive(ns))
ret = ns_get_unless_inactive(ret);
ns = ns_get_unless_inactive(candidate);