I don't understand what makes this a cautionary tale. Observation didn't quite match theory. An entirely reasonable hypothesis was proposed: an undiscovered planet. Attempts were made to prove it by discovering said planet. They failed. Eventually, a genius came up with a new theory that explained the observation, and a whole lot of other stuff besides.
This all seems like science and scientists getting the job done, a tale of scientific discovery and triumph, not cautionary.