Removal of restriction for command execution only if selection existed