Handle invalid rows.