Fix number of lines in portfolio table