Fix enable/disable all logic.