fixes #6477 - fixing host/smart proxy association

Which prevents smart proxies from being deleted.