Fixed bug from cleared cells.