You are getting all issues and then slicing them back to a few. Try doing something like `active = [i for i in issues[:LIMIT]]`.