Updated issue overview code to handle more error cases