now sql checks not boolean