More delicate clearing of empty rows.