Fix inversion in writeBson for bools.