Nothing obviously wrong. The measure is defined for blocks of one or more observations, e.g. for one or more firms in a given industry and a given year. If there's only one firm in an industry in a year, then HHI = 1 and that value will appear in just one observation. If not, not.
Note: spelling is Herfindahl.
Note: spelling is Herfindahl.
Comment