the database field is a smallint, not a boolean. fixes postgresql tests Signed-off-by: Robin Appelman <robin@icewind.nl>