Backend expects sequential order starting from 0 (0, 1, 2, ...), but the frontend was sending 1-based order (1, 2, 3, ...).