Continuity mistake: When Lisa first discovers Jebadiah's confession, she is holding the fyffe and wearing his racoon hat, the screen fades to black (I'm guessing for the ad break) but when it comes back Lisa is standing in exactly the same position, still reading the confession, still holding the fyffe, but no longer wearing the hat.
Continuity mistake: When Homer and Lisa are trying to convince The Town board to dig up Jebediah, members of the board keep disappearing.
Continuity mistake: In class, when Lisa is sitting at her desk, pondering the Jebadiah mystery, her tray of cookies and glass of milk is very visible. Then when Lisa says "The missing piece of the puzzle. I've got it." and runs out of class, the cookies and milk are no longer there.
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