Improved metadata support in multipleSelect.