If SI->size() is 0, we are not allowed to dereference ->begin().