Fixed bug in multiselection.