Fixed NRE with grid selected row.