Wrong MasterType

The PropertyCollectionSource was initialized with the Detail Type not the necessary Master Type.