This answer is just so that the question is not left unanswered.

The OP is correct: the book got it wrong.