Fixed "no lock found error" when toggling override with complex commands
enabled