Implement pagination in fetch_bugs API requests