Fixed reverted book hash function.