Fix multi-selection of wells (bug from earlier commit)