https://github.com/PrefectHQ/ui/blob/6abdc7f5b88e0237beb9f30a590aa53ec0588d98/src/pages/FlowRun/Restart-Dialog.vue#L73
As far as I know, map_index field of a task is -1 by default unless it is a child mapped task wherein indices are 0-based. So for the absence of index, why is inequality to 0 checked? Should it not be < 0 or == -1?