Fixed reintroduced bug

Rows where not cleared properly when more than one row was cleared.