getSelectedRow(): Fixed Exception in Delete and Download.