Correct bitwise operations priorities