Fixed one-off error that lead to the last row not being rendered