Fixed #1326 (Rearanged assignment pdf table cells to prevent a LayoutError)