The Hobbit had already been published when J.R.R. Tolkien decided to rewrite a chapter - just to a fix a plot hole created by The Lord of the Rings.