Fix logic error for spindle speed tolerance