Fixed bad row calculations.