Complete fix for bug #8811 - sd_has_inheritable_components segfaults on an SD that...