Fix bug in TreeRpc where the "delete_all" field may be null.
Fixed TestTreeRpc delete definition unit test