that error is there right now because we don't emit the "col IS NULL"
SQL within that section of the persistence code.
took me a long time to find the history on this because I thought it had
been discussed but looks like the answer was "no immediate plans":
https://bitbucket.org/zzzeek/sqlalchemy/issues/2127#comment-9011753
that is, we can't just drop that assertion without adding logic to alter
the SQL for some parameters.