Do not label every noun in the sentence as the ism of the particle.
In إِنَّ زَيْدًا صَالِحٌ, ask: which noun came directly under the effect of إِنَّ? It is زَيْدًا. What is being said about Zayd? صَالِحٌ, the khabar.
In لَكِنَّ الْكَافِرِينَ جَاهِلُونَ, the same questions identify الْكَافِرِينَ as the mansub ism and جَاهِلُونَ as the marfu khabar.