The pref ExportWithCsvProfile considers that export_format.profile is unique. We should reflect this constraint in the DB structure. See bug 15451 comment 15 to know what should be fixed (and git grep ExportWithCsvProfile).
With bug 15498, this is not needed anymore.