Fixed bug where auto clear was clearing cells even though a cell had the incorrect number of flags.