Fixed issue with crashing when rendering last row.