Fix unneeded bitwise operation