Correctly cast values from BIT column (which returns as Buffer object) to true or false.