Fix issue_id where it was been stored always as id 1.