Fix for missing the recordType in header