Fixed softlock when adding nothing to selection.