I found a new clue. When I start the car, it will idle normally at first. Then, after a minute or so, the idle increases to around 1300 RPM and it starts misfiring. Is this the EGR turning on or something else the computer does shortly after starting the car?