This was due to duplicate notebook timestamps within the sqlite
database, which meant that notebook_current included the placeholder
"next ids" along with the actual notebooks. The fix was to modify the
notebook_current view to filter out those placeholder ids.
note_current is now a table containing the current versions of each note, rather than a view.
This makes the tsearch2 index much less bloated with duplicate information