Fix export to bibtext/refworks functionality