#2272 Fix a DB error when merging contacts into the same household on contact export and only exporting selected contact fields