Fix bug with delete books in library