Fixed issue with detection of duplicate record fields