Since now HighLevelAPI.Slot.SlotId can be 0

PKCS #11 V2.20 page 38:
A priori, any value of CK_SLOT_ID can be a valid slot identifier—in
particular, a system may have a slot identified by the value 0.