Added further checks for restricted books, fixes #47