Fixed problem with book in tidy mode.