Um just a thought but have you checked the valve springs to see if they are not broken? I have seen engines run fine and sound great on idle but do the same thing on higher rpm's and have it turn out to be a broken valve spring. my understanding is that the spring weakens when it breaks and the valve can "float" at a lower rpm which would allow excessive amounts of gas to enter the exhaust and ignite.