Fixed bitwise or bug