Segments Table Extendend Selection having issue

Slicer Version : 5.1.0
OS : Windows 11

I am trying to do extended selection mode on segments table the selection works from top to bottom . But when i select bottom to top its only select one row

getModuleWidget('SegmentEditor').editor.Form.SegmentsTableView.setSelectionMode(qt.QAbstractItemView().ExtendedSelection)

Screenshot 2022-09-06 114549