Doc fixes

SQL `NULL` is `None` in python (transformed by SQLAlchemy).