Fixed an error in the books model