Fix display issue if no devices found

Divide by zero if no devices found (for calculation of reject/hwerror percents).