Is this passage from the textbook Artificial Intelligence: A Modern Approach incorrect?
Yes.  You are right.  That looks like an error in the textbook.  Check their errata, or send the authors a note to let them know.