Fixed get_nrow_ncol for 1-row/1-col grids