Change (x && y) || (!x && !y) to x^y
Maybe this is bad programming practice, but we added a comment and the
if statement was huge until this change.