Convert boolean into select