Bugfix: Allow None as a database value for migrations