So, for the `if` that you fixed, with `segment_id=None` that would mean that the SQLAlchemy query would look for explicit null in the segment_id column?