PySim bug related to ISD-R selection?

Using PySIM shell with modem (AT+CSIM command) as card reader produces the following error (I added csim command output to see where it happens):

Using reader modem:COM32
Waiting for card...
AT+CSIM=14,"00A40004023F00"
AT+CSIM=10,"00C000002B"
AT+CSIM=14,"00A40004022F00"
AT+CSIM=10,"00C000001C"
AT+CSIM=42,"00A4040410A0000005591010FFFFFFFF8900000100"
ERROR:root:Command failed with result: b'+CME ERROR: 0'
...

So it is probing ISD-R of an eUICC, but somehow it uses channel 0, which is eronious and produces an error. Instead it should’ve opened a logical channel and use CLA byte 01, because trying to select ISD-R with CLA byte 00 gives an error on every modem I have seen.
The error happens in pySIM\euicc.py file, class CardProfileEuiccSGP32 method _try_match_card, around line 603.
I temporarily got over it by commenting following lines:

        #scc.cla_byte = "00"
        #scc.select_adf(AID_ISD_R)
        #CardApplicationISDR.store_data_tlv(scc, GetCertsReq(), GetCertsResp)

However, that means eUICC won’t be detected (can work with current profile as usual SIM/UICC).

I tested this on two modems Quectel EC25 and DELL DW5821e/T77W968. The error happens even on EC25 with usual (non-eUICC) sim inserted, because PySIM still tries to detect eUICC and uses cla 00 when trying to select ISD-R.
Also, PySIM fails to detect the eUICC type, it shows Info: Card is of type: IoT eUICC (SGP.32) for both 5ber (the version with compliant ISD-R not the ultra version that has its own ISD-R) and a Thales module of DW5821e modem (both obviously are consumer modules and not the recent IoT SGP32).

This doesn’t look like a discussion topic, but a bug report. It should go to Issues - pySim - Open Source Mobile Communications instead.