HM/TJ: record invalid record identifiers