Fix displaying link to details of non-existing book