Handle sql null types in SQLite SetModelValue