[DF-4068] Changed |= on &= to get correct result of functions