lnodes_is_valid: sc_array lookups now use the sc_array_index functions