Anti-two-block switches