Fixed marking dead groups in BoardModel.