That sticker looks to be several years old. The bad wiring probably happened after that inspection was done.