Changed some bit assignments to logical assignments in BufferOverflowVector.