Fixed a few bitwise & confusions with logical &...