fix select constraint from bool to tristate