Smallint fields not used for boolean values

test