query_tree_emit(): implement clear operation, eliminate inner loop to find recipient by setting recipient attribute "source_recipient_index"