Fixed a typo (tabel -> table) causing bugs

Fixed a typo (tabel -> table) causing bugs when having nested grids in certain cases.