Validate the ISBN before looking it up.
Be more resilient against data errors.
Compute ISBN-10 with 0 checksums correctly.
Add more debugging.