Fix export of contacts