Fix misuse of issue index for issue id.

Affected functions:
- UpdateAssignee
- UpdateIssueMilestone