By changing the lever position from UP to DOWN the micro switch shall change it´s state (e.g. from activated to deactivated)
I assume there is a slight misalignment of the switch causing it to not change it´s activation state ---> try with the alignment of the microswitch