Addresses invalid argument access when attempting to read leaf nodes
Addresses invalid argument access when attempting to read leaf nodes

cellml/libcellml,cellml/libcellml,cellml/libcellml,nickerso/libcellml,hsorby/libcellml,nickerso/libcellml,nickerso/libcellml,hsorby/libcellml,nickerso/libcellml,hsorby/libcellml,cellml/libcellml,hsorby/libcellml