Fix a typo in an attribute name and only check for restricted books that exist