Made it possible to have no selection.