Fix problem that the same words are deleted even if they are from different sources.

Currently candidates which have the same string are deleted by the delete-dups function even if they are from different sources.  I think candidates from different sources should be handled separately and each of them should be shown on popup menu.  If the fix is valid, please merge it.