My mistake in #22977, in the case where the inline completion was not selected it set the index to 1 assuming there would be following match entries.
My mistake in #22977, in the case where the inline completion was not selected it set the index to 1 assuming there would be following match entries.