more robust handling of the (overloaded) find_nodes method