Added parentheses around bitwise & expr in comparison, and added comment

Addresses compiler warning mentioned in comments to e9dcc159043593f8e3a84f78e258b5bf05660143.