quick fix for undefined rating showing up
Merge pull request #1166 from killerfish/bookfix

Book: Added case for rating