Remove duplicated options from multi-valued select boxes.

Fix for issue #1533 (`Option cannot be selected after unselecting it`).