Add check for duplicate gene selection.

For some reason, onSelect would be called multiple times when selecting an item with keyboard.