tiny fix to current autocompletion

* this will enable autocompleting queries like 'file dataset=/Zmm...'
  - earlier it was returning no matches as the whole query was being used to search for dataset