HF RL Explorer

Select function returns incorrect bit position

Select function returns incorrect bit position: a task in UltraTerminal (Harbor dataset). The Select function is returning incorrect bit positions when finding the nth set bit in a BitSet. The function appears to have issues with its bit counting logic.

The task

The `Select` function is returning incorrect bit positions when finding the nth set bit in a BitSet. The function appears to have issues with its bit counting logic.

Part of harness-hub/UltraTerminal.