[DF-4131] - fixed bitwise operations.