Fixes macros.len crashing on nodes which lack the sons field.