Fixing error in new django 1.7 migration.