Fix clear functionality to add one cell on clear.