Fixing nre.
Fixing RelativeSource.AncestorType.