The entity type detection currently doesn't consider the association target type in the first place. In scenarios, in which the actually declared property type is leads to a different entity consideration, this might lead to wrong inspection results.