set nodes_requested after iterating through returned data