Fixed the multiple selection bug.