Deletion of books persists in database