tree.find: fix the issue that null key cased 100% cpu useage.

If the the key is null, the node could't be responsive because of the 100% cpu usage.