The safety inspectors did not notice the faulty wiring in the walls until it was too late.
The safety inspectors are the ones doing (or not doing) the action, so they should be the subject of the sentence.
Brave but misguided men fought the Spanish-American War.
There is no need for the passive in this situation, as it is absolutely clear who did the fighting.