Fixed generating the scoreboard when there are empty cells.