Fixing issue with not being able to syncdb.