Fix of binary compatibility issues during export/import of security records.