Fixed PartialTypeWithSinglePartIssue for nested partial types.

Unit test shows the problem.