Fix issue with BIT operations
Correct operations with signed data