Prevent null in boolean column. fix #1374