Applied bug fix from trunk r1626402.
Based on Adrian's comment on dev mailing list, Providing better fix for the issue report at - OFBIZ-5739 - copyContentAndElectronicTextandAssoc service broken.
Thanks Deepak for the contribution.

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/branches/release13.07@1626839 13f79535-47bb-0310-9956-ffa450edef68