Because the contoller uses simple logic. The LE is deployed by selecting Flaps away from "up" thus when reverse is selected the "retract" command simply interrupts the deployment. As soon as reverse is cancelled they redeploy to the commanded position. Then they can be retracted as part of the after landing procedure.............