Use ProxyQueryInterface instead of ProxyQuery.