[treasury] fix bug where it was crashing on the header row