Fixing reference to settings.OTHER_DATABASES