OK Cosmin,
That is good information, your problem will almost certainly be in one of of the microswitches, either it is not positioned correct on the cam or the
end of the switch has broken off which is hard to see but very common.
Simple to fix by changing the switch. Have a good look at both the switches and if you cannot see a problem just put your meter on then to check for continuity. then check the continuity is broken when you press in the switch. If it is the switch not opening then some of them can be taken apart and cleaned but some are none openable.
Edit: Switches ( cut middle leg off, not reqd.)
https://uk.rs-online.com/web/p/micro...d%22%3Atrue%7D