Fix handling of strings

Also get_db_prep_value returns None if field.null = True