Squash references if they show up at the end of a chapter.

They are rendered at the back of the book by Docbook