Added error checking to the code in case the ISBN is not found