Should ignore duplicated entries in select.
Fix typo.