You said oven, not range right? If the top AND bottom (you didn't specify which ignitor you changed) you could have a bad regulator, switch, or loose wire connection.

Here is a video to explain...