Fix delete hosts for networkports