[FIX] kanban: wrong condition to reset the dataset index