Special Edna (a.k.a. Love and Marking) - S14-E7
Deliberate mistake: When Bart and Edna are watching "Holes" in the IMAX theater, Edna sighs and pulls out a locket which we can see the back of. After opening it up to reveal pictures of her and Seymour, we find out its actually a triptych when she opens up another image of Seymour's mother. From the way she unfolds this extra picture, Seymour's mother would have had to be facing outwards, but in the previous shot the back of the locket was blank.
Answer: I'm not sure if this is the one you're thinking of, but an episode of "Ray Bradbury Theatre," called "A Sound of Thunder," dealt with a similar matter: a group of hunters travel back in time to hunt dinosaurs, only to find things have changed when they get back because someone stepped on a butterfly.
Xofer