Fix a bug in hf_lags_table.