Fix incorrect reporting of bad vs. unknown.