fixes insert/update of boolean columns