I mean they have a continuity person but not even they catch everything. And writers should have a board plan but not all do. And even when they do things still get changed or forgotten
The Glee writers seemed to be one of the worst types. Especially since they gave into their own hype.