- make sure, safe_p is always set
- don't produce error when query end with a "not"