Fixing getTranslations query