Please Homer, Don't Hammer 'Em - S18-E3
Continuity mistake: In this episode Principal Skinner breaks into Bart's doctors office to find out if Bart has a 'kryptonite'. Bart discovered Skinner was allergic to peanuts. On Bart's medical history form under 'known allergies' it has shrimp ticked (they later battle with shrimp and peanut on a stick). However in a previous episode (The Heartbroke Kid, season 16 episode 17) it was discovered that he was allergic to cauliflower, so that should have been on the list as well.