Fix delete_network for user-managed controller