I think I know the answer for that: index actually returns `0` when an unknown axis is provided, while the correct thing is obviously the `undefined` enum, which is what my new code should do.