Fix #new with an STI object with complex inheritance