Not all of the electrical plugs in that area are dummy proof, The knock sensor and the O2 are interchangeable if memory serves. I did this myself and chased my tail for a long time til I finally figured it out.
Hope this makes sense to you, I'm typing on my phone :)