fix(dropdown): avoid items to be selected twice

Previously, we were allowed to select the same item twice, if
maxItems > 1. This also caused items to not render after the repeated
item.

Fixes #39