Fix some incorrect attribute references in refresh_issue_shard