Fix #new with an STI object with complex inheritance
Merge pull request #10038 from nateberkopec/sti-new-with-complex-inheritance

Fix regression re: #new with an STI object & complex inheritance