LES_ACTIVE
if (found && (lep->le_state == LES_ACTIVE)) {
if (!allstates && sep->se_state == LES_ACTIVE)
lep.le_state = LES_ACTIVE;