Fixed 'undefined index: 0' error
Merge pull request #17 from petert82/master

Fix for autosuggest issue