Bug 861707 - TypeError: contact.givenName[0].trim is not a function