Fixed bugs in the Adjust and Set logical operations.