Updated to prevent non scoped proxies from being treated as scoped proxies