scripts/data_maintainer.py: fixed to survive null in stats column of sql_modify