IB/ehca: Ensure that guid_entry index is not negative