Fix for not creating a tree if no tree fields were edited.

Fixes two issues:
 - Tree UDF stewardship values were never saved for empty planting sites
 - New trees always had "has_tree" set to true
I feel like I've seen nearly this exact condition in another recent PR. Perhaps a helper function?