Trying out better autocomplete search with parts.
Fixing infinite loop.
Fixing issue with autocomplete.