Fixed ISBN validity check.