Fix the getProxyToTopic method.