Fix crashes on x64 when selecting ordinals in list.