Fixed: exporting a contact could make the server crash