Fix bug where a cell was set as active when it shouldn't be.