Handle masked data better in del_rows()