Fix problem with syncdb.py running