[jan] Fix exporting selected contacts (Bug #12759).