Now properly checking whether at least 2 switches are used.