Issue #2275495 by nostop8: Fixed EntityMetadataWrapperException: Unable to get the data property type.