add handling for duplicate autocomplete entries
Merge pull request #19 from pgao/master

add handling for duplicate autocomplete entries