Fixed adding of owned entities if the property type was a base class of the instance type