CRM-13995 fix export when merging households