Fix bitwise comparison check.

comparison has higher precedence than bitwise ops