I've read about this bit of the book in other articles. The cheating was not on the books/10 commandments, it was on a math quiz (that afforded cheating) which followed the listing.
For those that listed books, some would cheat on the next bit. For those that listed commandments, they wouldn't.