Fix autocomplete for book titles and id