Fixed PartialTypeWithSinglePartIssue to handle partial nested types with non-partial parents.

The new unit test shows the old (now fixed) bug.