Added index for `sid`