guard empty selection