Correctly cast BIT columns to true or false

This fixes a bug where if a table containing columns of type BIT (acting as a boolean) was queried, a Buffer object (either <Buffer 00> or <Buffer 01>) would be returned rather than true or false.