Handle the case where the acceptance nodes variable is not set
Updated get_nodes comment to reflect new truth
Better documentation and error string