I was really disappointed to see that sort of thing mentioned; I had been hoping for better, more wild-goose-chase-y examples where the wrong hypothesis was compelling and consistent with equations that accurately modeled reality - things like the luminiferous ether, which yielded the accurate Lorentz equations, and the caloric theory of heat which yielded many accurate equations and experimental results (indeed, its fluid model of heat is so parallel to reality that you probably recall your mechanical engineer friends at school taking "thermals and fluids" classes). The Earth being flat was debunked the first time someone saw a boat come in to pier and is thoroughly uninteresting.