deleting hosts now works by name or id