Misc fixes.
Fix #365  - anonymous instant search.