Fix data.isbns to data.isbns.length (to ensure length is non-zero)