Fix bug with misalignment of columns due to null cells.