Do not set surname when empty, causes Zimbra errors

Wild guess: surname is a required field.
Zimbra throws errors when surname is set in the array but has an empty value.