Convert bug_id to integer in fetch_bugs.