Fix delete for hosts