find_node_by_unique_id should use find instead of for-loop