Boolean logic is hard, apparently.