Continuity mistake: After Homer's emotional outburst about the lack of bananas, when it cuts to the exterior shot of the Lovejoy house the doorknob is on the right side of The Front door, but when Reverend Lovejoy kicks Bart out of his house, the doorknob is on the opposite side. Later, when Jessica twirls the baton, the doorknob is on the right side again. (00:08:00)
Continuity mistake: When Bart is talking to Jessica after she stole the collection plate money, she is far away from Bart. But when Bart says "but you're not very nice", she is right next to him.
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