Added a check in the delete isbn